package com.thesis.dao;

import com.thesis.entity.SysDict;
import com.github.pagehelper.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysDictMapper {
    int deleteByPrimaryKey(Long id);

    int insert(SysDict record);

    int insertSelective(SysDict record);

    SysDict selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SysDict record);

    int updateByPrimaryKey(SysDict record);

    Page<SysDict> findPageList(@Param("queryParam") SysDict record);

    Page<SysDict> findPageListByVague(@Param("queryParam") SysDict queryParam, @Param("vagueParam") String vagueParam);

    Integer deleteBatchByIds(List<Integer> idList);
}